import { _decorator, Component, Node } from 'cc';
import { _player, _resource } from '../Main';
import { AudioName, PanelName } from '../managers/ResourceManager';
import { BaseButton } from './BaseButton';
const { ccclass, property } = _decorator;

@ccclass('SettingButton')
export class SettingButton extends BaseButton {

    buttonId: number = 1

    buttonName: string = '设置'
    
    start() {
        
    }

    click() {
        _resource.openPanel(_resource.getPanelPrefab(PanelName.SettingPanel))
        
    }
}


